package com.guoq.service;

import java.util.List;
import java.util.Map;

import com.guoq.pojo.EUDataGridResult;
import com.guoq.pojo.Orders;
import com.guoq.pojo.OrdersExample;
import com.guoq.pojo.Result;
import com.guoq.pojo.User;

/**
 * 
 * <P>类名称:IOrderService
 * <P>类描述: 订单service接口类 
 * <P>创建人:郭强  
 * <P>修改人:XXX 
 * <P>修改时间:2017年7月19日 上午11:10:07
 * <P>修改备注: 
 * @version 1.0.0
 * Copyright(c)2017西部在线-版权所有
 */
public interface IOrderService {
	
	public Orders getById(int userId);
	public List<Orders> getList();
	public EUDataGridResult getThreeMonthList(String userid);
	public EUDataGridResult getThreeMonthAgoList(String userid);
	public EUDataGridResult waitEvaluateList(String userid);
	public EUDataGridResult cancelList(String userid);
	public EUDataGridResult getListByCustId(Integer page, Integer rows, String custid);
	public EUDataGridResult getListByShopId(Integer page, Integer rows, String shopid);
	public List<Orders> selectByExample(OrdersExample example);
	public int countByExample(OrdersExample example);
	
	public Result create(Map<String, String[]> map, User bean) throws Exception;
	public Result update(Orders bean) throws Exception;
	public Result delete(Orders bean) throws Exception;
	public Result deleteByOrderId(String orderId) throws Exception;
	
}
